package com.yansu.own.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AppFocusMediaMapper {

    int checkPermissions(@Param("articleId") int articleId, @Param("userId") Long userid);

    int checkHasDeleted(int articleId);

    int checkHasPublish(int articleId);

    Integer getMediaByName(String mediaName);
}
